<?php
/**
 * @since 2012.01.20.
 * @author Karasz Tamas
 * @link http://binga.hu/
 * @package 
 * ______ _____ _   _ _____  ___  
 * | ___ \_   _| \ | |  __ \/ _ \ 
 * | |_/ / | | |  \| | |  \/ /_\ \
 * | ___ \ | | | . ` | | __|  _  |
 * | |_/ /_| |_| |\  | |_\ \ | | |
 * \____/ \___/\_| \_/\____|_| |_/
 * 
 */
 
$id = $sql->escape($query_string[2]);

$sql->mysql_select("gallery", "*","gallery_id = ".$id);

$form_value = $sql->get_line();

$form_value['action'] = "edit";
$form_value['module'] = "gallery.edit";
$form_value['id'] = $id;

$page_title = "Album szerkesztése";
$page_text = $theme->show_form($module_db);

$theme->footer_jssrc[] = "
$('#gallery_image_imagefile').change(function(){
	changeimage('gallery_image_imagefile', 'news_image');
});
";
 
?>